﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PIT.Labs.SharePoint.Extensions.Helper
{
    /// <summary>
    /// This class contains static helper methods and properties for the SPList class.
    /// The use of the Guids is obsolete, please use <see cref="T:Microsoft.SharePoint.SPBuiltInFieldId"/>.
    /// </summary>
    /// <seealso cref="T:Microsoft.SharePoint.SPList"/>
    public static class SPListHelper
    {
        /// <summary>
        /// The <see cref="Guid"/> of the "Created By" (Internal name: Author) field.
        /// </summary>
        public readonly static Guid CreatedByFieldGuid = new Guid("{1df5e554-ec7e-46a6-901d-d85a3881cb18}");

        /// <summary>
        /// The <see cref="Guid"/> of the "Modified By" (Internal name: Editor) field.
        /// </summary>
        public readonly static Guid ModifiedByFieldGuid = new Guid("{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}");

        /// <summary>
        /// The <see cref="Guid"/> of the "Title" (Internal name: Title) field.
        /// </summary>
        public readonly static Guid TitleFieldGuid = new Guid("{fa564e0f-0c70-4ab9-b863-0177e6ddd247}");

        /// <summary>
        /// The <see cref="Guid"/> of the "Start Time" (Internal name: EventDate) field.
        /// </summary>
        public readonly static Guid StartTimeFieldGuid = new Guid("{64cd368d-2f95-4bfc-a1f9-8d4324ecb007}");

        /// <summary>
        /// The <see cref="Guid"/> of the "End Time" (Internal name: EndDate) field.
        /// </summary>
        public readonly static Guid EndTimeFieldGuid = new Guid("{2684f9f2-54be-429f-ba06-76754fc056bf}");

        /// <summary>
        /// The <see cref="Guid"/> of the "Category (Internal name: Category) field.
        /// </summary>
        public readonly static Guid CategoryFieldGuid = new Guid("{6df9bd52-550e-4a30-bc31-a4366832a87d}");



    }
}
